//
//  WBTabBar.h
//  CD1505WeiBo
//
//  Created by 千锋 on 15/12/29.
//  Copyright (c) 2015年 LiChaoRan. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol WBtabBarDelegate <NSObject>

- (void)passIndex:(NSInteger)index;

@end

typedef void(^PassIndex)(NSInteger index);

typedef void(^PlubBtnPressedBluck)();

@interface WBTabBar : UIView

//用来传递title image等信息
@property (nonatomic, strong)UITabBarItem *tabBarItem;

@property (nonatomic, assign)id <WBtabBarDelegate> delegate;

@property (nonatomic, copy)PassIndex passBlock;

//中间按钮点击block
@property (nonatomic, copy)PlubBtnPressedBluck plutBtnPressedBlock;

@end
